IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[SelectAllEnvio]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
	DROP PROCEDURE [dbo].[SelectAllEnvio]
GO

CREATE PROCEDURE [dbo].[SelectAllEnvio]

AS
BEGIN
	SET NOCOUNT ON

	SELECT
	[IdPedido],
	[Costo],
	[FechaEnvio],
	[IdDistrito],
	[Direccion],
	[Comentario],
	[Estado]
	FROM [Envio]

	SET NOCOUNT OFF
END

GO
